package com.wn55.hrms;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@EnableSwagger2
@EnableCaching
@EnableTransactionManagement
@MapperScan("com.wn55.hrms.mapper")
public class HrmsApplication {

    public static void main(String[] args) {


        try {
            SpringApplication.run(HrmsApplication.class, args);
        }catch (Exception e){
            e.printStackTrace();
        }
    }

}
